<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.prime.com.tr/ui">

    <h:head>
        <title>İhale Yönetim Sistemi</title>
        <link href="style.css" rel="stylesheet" type="text/css"></link>
        <div style="text-align: center;height:139px;background-color: #2D99FF"></div>

    </h:head>
    <h:body>

        <div id="wrapper">
            <div id="logo">

            </div>
            <div id="header">
                <!-- 		<div id="menu">
                
                        </div>    -->
            </div>
            <div class="page">
                <div id="page-bgtop">

                    <div id="dummy"></div>

                    <p:accordionPanel id="panelsidebar"  autoHeight="false" style="width: 220px;text-align: left;">  
                        <p:tab id="p1" title="Yönetici Girişi">  
                            <h:form>
                                <h:panelGrid columns="1" >
                                    <h:outputText value="User Name"></h:outputText> <h:inputText value="#{loginBean.admin.kullaniciAdi}"></h:inputText>  
                                    <h:outputText value="Password"> </h:outputText> <h:inputSecret value="#{loginBean.admin.sifre}"></h:inputSecret> 
                                    <h:commandButton value="Giriş Yap" action="#{loginBean.loginAdmin}"></h:commandButton>
                                </h:panelGrid> 
                            </h:form>
                        </p:tab>  
                        <p:tab id="p2" title="Satın Almacı Girişi"> 

                            <h:panelGrid columns="1">
                                <h:form>
                                    <h:outputText value="User Name"></h:outputText> <h:inputText value="#{loginBean.satinAlmaci.kullaniciAdi}"></h:inputText>                                      
                                    <h:outputText value="Password"> </h:outputText> <h:inputSecret value="#{loginBean.satinAlmaci.sifre}"></h:inputSecret> 
                                    <h:commandButton value="Giriş Yap" action="#{loginBean.loginSatinAlmaci}"></h:commandButton>   
                                </h:form>
                            </h:panelGrid> 
                        </p:tab>  
                        <p:tab id="p3" title="Tedarikçi Girişi"> 

                            <h:panelGrid columns="1">
                                <h:form>
                                    <h:outputText value="User Name"></h:outputText> <h:inputText value="#{loginBean.tedarikci.kullaniciAdi}"></h:inputText>                                      
                                    <h:outputText value="Password"> </h:outputText> <h:inputSecret value="#{loginBean.tedarikci.sifre}"></h:inputSecret> 
                                    <h:commandButton value="Giriş Yap" action="#{loginBean.loginTedarikci}"></h:commandButton> 
                                </h:form>
                            </h:panelGrid> 
                        </p:tab> 
                    </p:accordionPanel>   




                    <!-- end #sidebar -->

                    <div id="content">
                        <p:panel header="İHALE YÖNETİM SİSTEMİNE HOŞ GELDİNİZ" style="text-align: center"  id="panel">
                            <p:messages showDetail="true"/>  
                        </p:panel> 

                    </div>
                    <!-- end #content -->

                    <div style="clear: both;">&nbsp;</div>
                </div>

                <!-- end #page -->

            </div>
            <div id="footer-bgcontent">
                <div id="footer" align="center">
                    <p>İhale Yönetim Sistemi 2011</p>
                </div>
            </div>
            <!-- end #footer -->
        </div>

    </h:body>
</html>

<!--<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:p="http://primefaces.prime.com.tr/ui"
      xmlns:h="http://java.sun.com/jsf/html">
    <h:head>
        <title>Facelet Title</title>
    </h:head>
    <h:body>
        <h:form>
            <h:commandLink value="Supervisor" action="Supervisor.xhtml"></h:commandLink>
            <h:commandLink value="Agent" action="Agent.xhtml"></h:commandLink>
        </h:form><p:panel header="Login Form">
         <h:panelGrid columns="2">
            <h:outputText value="User Name"></h:outputText> <p:inputText></p:inputText>  
            <h:outputText value="Password"> </h:outputText> <h:inputSecret></h:inputSecret> 
            <p:button value="Submit"></p:button>   <p:button value="Reset"></p:button>  
         </h:panelGrid>
       
      </p:panel>
    </h:body>
</html>-->




